﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FTradeInvoiceReUse.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.FTradeModel.FTradeInvoiceReUse" %>


<div class="pageContent">
	
	<form method="post" action="FTradeModel/FTradeInvoiceReUse.aspx?ajaxmethod=reuse&id=<%=id %>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">
            <h2>发票信息:</h2>
            <div class="divider"></div>
             <p>
				  <label>发票号码：</label>
				  <input type="text" readonly value="<%=obj.FPHaoMa%>"/>
			 </p>
             <p>
				  <label>发票代码：</label>
				  <input type="text" readonly value="<%=obj.FPDaiMa%>"/>
			 </p>
             <p>
				  <label>金额：</label>
				  <input type="text" readonly value="<%=obj.FPJinE%>"/>
			 </p>
             <p>
				  <label>日期：</label>
				  <input type="text" readonly value="<%=obj.FPDate.ToString("yyyy-MM-dd")%>"/>
			 </p>
             <div  style=" clear:both;"></div>
             <h2>原合同信息:</h2>
             <div class="divider"></div>
             <p>
				  <label>合同号：</label>
				  <input type="text" readonly value="<%=objft.HeTongHao%>"/>
			 </p>
             <p>
				  <label>合同金额：</label>
				  <input type="text" readonly value="<%=objft.HeTongJinE%>"/>
			 </p>
             <p>
				  <label>机号：</label>
				  <input type="text" readonly value="<%=objft.JiHao%>"/>
			 </p>
              <p>
				  <label>条款：</label>
				  <input type="text" readonly value="<%=objft.XiaoShouLeiXing%>"/>
			 </p>
             <div  style=" clear:both;"></div>
             <h2>转移后合同信息:</h2>
             <div class="divider"></div>
              <div class="unit">
				<label>合同信息：</label>
				<select name="newFTradeID" >
                     <asp:repeater id="rpOld" runat="server">
                        <ItemTemplate> 
                            <option value="<%# Eval("FTradeID") %>">状态:<%# Eval("JiQiState")%>&nbsp;&nbsp;机号:<%# Eval("JiHao")%>&nbsp;&nbsp;合同:<%# Eval("HeTongHao")%>&nbsp;&nbsp;金额:<%# Eval("HeTongJinE")%>&nbsp;&nbsp;条款:<%# Eval("XiaoShouLeiXing")%></option>
                        </ItemTemplate>
                      </asp:repeater>                    
                </select>
			</div>
            
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">转移</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
